﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class cem_CostElement : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("cem_CostElement", "ID");
       [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("cem_CostElement", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("cem_CostElement", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("cem_CostElement", "UserName");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("cem_CostElement", "UserFullName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("cem_CostElement", "Department");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("cem_CostElement", "ApplicationNo");
        [Column]
        public string Actions { get { return _Actions; } set { _Actions = value; EntityState.FieldChange("Actions"); } } private string _Actions; public static FieldInfo actions = new FieldInfo("cem_CostElement", "Actions");
        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("cem_CostElement", "VD_Checked");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("cem_CostElement", "SA_Checked");
        [Column]
        public string IS_CO_Area { get { return _IS_CO_Area; } set { _IS_CO_Area = value; EntityState.FieldChange("IS_CO_Area"); } } private string _IS_CO_Area; public static FieldInfo iS_CO_Area = new FieldInfo("cem_CostElement", "IS_CO_Area");
        [Column]
        public string IS_Cost_Element { get { return _IS_Cost_Element; } set { _IS_Cost_Element = value; EntityState.FieldChange("IS_Cost_Element"); } } private string _IS_Cost_Element; public static FieldInfo iS_Cost_Element = new FieldInfo("cem_CostElement", "IS_Cost_Element");
        [Column]
        public string Vaild_From { get { return _Vaild_From; } set { _Vaild_From = value; EntityState.FieldChange("Vaild_From"); } } private string _Vaild_From; public static FieldInfo vaild_From = new FieldInfo("cem_CostElement", "Vaild_From");
        [Column]
        public string Vaild_To { get { return _Vaild_To; } set { _Vaild_To = value; EntityState.FieldChange("Vaild_To"); } } private string _Vaild_To; public static FieldInfo vaild_To = new FieldInfo("cem_CostElement", "Vaild_To");
        [Column]
        public string RE_Cost_Element { get { return _RE_Cost_Element; } set { _RE_Cost_Element = value; EntityState.FieldChange("RE_Cost_Element"); } } private string _RE_Cost_Element; public static FieldInfo rE_Cost_Element = new FieldInfo("cem_CostElement", "RE_Cost_Element");
        [Column]
        public string RE_CO_Area { get { return _RE_CO_Area; } set { _RE_CO_Area = value; EntityState.FieldChange("RE_CO_Area"); } } private string _RE_CO_Area; public static FieldInfo rE_CO_Area = new FieldInfo("cem_CostElement", "RE_CO_Area");
        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } } private string _Name; public static FieldInfo name = new FieldInfo("cem_CostElement", "Name");
        [Column]
        public string Description { get { return _Description; } set { _Description = value; EntityState.FieldChange("Description"); } } private string _Description; public static FieldInfo description = new FieldInfo("cem_CostElement", "Description");
        [Column]
        public string Cost_Element_Category { get { return _Cost_Element_Category; } set { _Cost_Element_Category = value; EntityState.FieldChange("Cost_Element_Category"); } } private string _Cost_Element_Category; public static FieldInfo cost_Element_Category = new FieldInfo("cem_CostElement", "Cost_Element_Category");
        [Column]
        public string Element_Group_CO_Area { get { return _Element_Group_CO_Area; } set { _Element_Group_CO_Area = value; EntityState.FieldChange("Element_Group_CO_Area"); } } private string _Element_Group_CO_Area; public static FieldInfo element_Group_CO_Area = new FieldInfo("cem_CostElement", "Element_Group_CO_Area");
        [Column]
        public string Cost_Element_Group { get { return _Cost_Element_Group; } set { _Cost_Element_Group = value; EntityState.FieldChange("Cost_Element_Group"); } } private string _Cost_Element_Group; public static FieldInfo cost_Element_Group = new FieldInfo("cem_CostElement", "Cost_Element_Group");
        [Column]
        public string Copy_Cost_Element_Group { get { return _Copy_Cost_Element_Group; } set { _Copy_Cost_Element_Group = value; EntityState.FieldChange("Copy_Cost_Element_Group"); } } private string _Copy_Cost_Element_Group; public static FieldInfo copy_Cost_Element_Group = new FieldInfo("cem_CostElement", "Copy_Cost_Element_Group");
        [Column]
        public string Chart_Accounts { get { return _Chart_Accounts; } set { _Chart_Accounts = value; EntityState.FieldChange("Chart_Accounts"); } } private string _Chart_Accounts; public static FieldInfo chart_Accounts = new FieldInfo("cem_CostElement", "Chart_Accounts");
        [Column]
        public string Element_Group_Name { get { return _Element_Group_Name; } set { _Element_Group_Name = value; EntityState.FieldChange("Element_Group_Name"); } } private string _Element_Group_Name; public static FieldInfo element_Group_Name = new FieldInfo("cem_CostElement", "Element_Group_Name");
        [Column]
        public string Cost_Element_1 { get { return _Cost_Element_1; } set { _Cost_Element_1 = value; EntityState.FieldChange("Cost_Element_1"); } } private string _Cost_Element_1; public static FieldInfo cost_Element_1 = new FieldInfo("cem_CostElement", "Cost_Element_1");
        [Column]
        public string Cost_Element_2 { get { return _Cost_Element_2; } set { _Cost_Element_2 = value; EntityState.FieldChange("Cost_Element_2"); } } private string _Cost_Element_2; public static FieldInfo cost_Element_2 = new FieldInfo("cem_CostElement", "Cost_Element_2");
        [Column]
        public string Cost_Element_3 { get { return _Cost_Element_3; } set { _Cost_Element_3 = value; EntityState.FieldChange("Cost_Element_3"); } } private string _Cost_Element_3; public static FieldInfo cost_Element_3 = new FieldInfo("cem_CostElement", "Cost_Element_3");
        [Column]
        public string Cost_Element_4 { get { return _Cost_Element_4; } set { _Cost_Element_4 = value; EntityState.FieldChange("Cost_Element_4"); } } private string _Cost_Element_4; public static FieldInfo cost_Element_4 = new FieldInfo("cem_CostElement", "Cost_Element_4");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("cem_CostElement", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("cem_CostElement", "DMO_DrpPriority");

        [Column]
        public string DMO_Arrpvoe_Creation_Number { get { return _DMO_Arrpvoe_Creation_Number; } set { _DMO_Arrpvoe_Creation_Number = value; EntityState.FieldChange("DMO_Arrpvoe_Creation_Number"); } } private string _DMO_Arrpvoe_Creation_Number; public static FieldInfo dMO_Arrpvoe_Creation_Number = new FieldInfo("cem_CostElement", "DMO_Arrpvoe_Creation_Number");
        [Column]
        public string DMO_Arrpvoe_Creation_Time { get { return _DMO_Arrpvoe_Creation_Time; } set { _DMO_Arrpvoe_Creation_Time = value; EntityState.FieldChange("DMO_Arrpvoe_Creation_Time"); } } private string _DMO_Arrpvoe_Creation_Time; public static FieldInfo dMO_Arrpvoe_Creation_Time = new FieldInfo("cem_CostElement", "DMO_Arrpvoe_Creation_Time");
        [Column]
        public string DMO_Maintain_Creation_Number { get { return _DMO_Maintain_Creation_Number; } set { _DMO_Maintain_Creation_Number = value; EntityState.FieldChange("DMO_Maintain_Creation_Number"); } } private string _DMO_Maintain_Creation_Number; public static FieldInfo dMO_Maintain_Creation_Number = new FieldInfo("cem_CostElement", "DMO_Maintain_Creation_Number");
        [Column]
        public string DMO_Maintain_Creation_Time { get { return _DMO_Maintain_Creation_Time; } set { _DMO_Maintain_Creation_Time = value; EntityState.FieldChange("DMO_Maintain_Creation_Time"); } } private string _DMO_Maintain_Creation_Time; public static FieldInfo dMO_Maintain_Creation_Time = new FieldInfo("cem_CostElement", "DMO_Maintain_Creation_Time");
        [Column]
        public string DMO_Check_Creation_Number { get { return _DMO_Check_Creation_Number; } set { _DMO_Check_Creation_Number = value; EntityState.FieldChange("DMO_Check_Creation_Number"); } } private string _DMO_Check_Creation_Number; public static FieldInfo dMO_Check_Creation_Number = new FieldInfo("cem_CostElement", "DMO_Check_Creation_Number");
        [Column]
        public string DMO_Check_Creation_Time { get { return _DMO_Check_Creation_Time; } set { _DMO_Check_Creation_Time = value; EntityState.FieldChange("DMO_Check_Creation_Time"); } } private string _DMO_Check_Creation_Time; public static FieldInfo dMO_Check_Creation_Time = new FieldInfo("cem_CostElement", "DMO_Check_Creation_Time");
        [Column]
        public string DMO_Arrpvoe_Revision_Number { get { return _DMO_Arrpvoe_Revision_Number; } set { _DMO_Arrpvoe_Revision_Number = value; EntityState.FieldChange("DMO_Arrpvoe_Revision_Number"); } } private string _DMO_Arrpvoe_Revision_Number; public static FieldInfo dMO_Arrpvoe_Revision_Number = new FieldInfo("cem_CostElement", "DMO_Arrpvoe_Revision_Number");
        [Column]
        public string DMO_Arrpvoe_Revision_Time { get { return _DMO_Arrpvoe_Revision_Time; } set { _DMO_Arrpvoe_Revision_Time = value; EntityState.FieldChange("DMO_Arrpvoe_Revision_Time"); } } private string _DMO_Arrpvoe_Revision_Time; public static FieldInfo dMO_Arrpvoe_Revision_Time = new FieldInfo("cem_CostElement", "DMO_Arrpvoe_Revision_Time");
        [Column]
        public string DMO_Maintain_Revision_Number { get { return _DMO_Maintain_Revision_Number; } set { _DMO_Maintain_Revision_Number = value; EntityState.FieldChange("DMO_Maintain_Revision_Number"); } } private string _DMO_Maintain_Revision_Number; public static FieldInfo dMO_Maintain_Revision_Number = new FieldInfo("cem_CostElement", "DMO_Maintain_Revision_Number");
        [Column]
        public string DMO_Maintain_Revision_Time { get { return _DMO_Maintain_Revision_Time; } set { _DMO_Maintain_Revision_Time = value; EntityState.FieldChange("DMO_Maintain_Revision_Time"); } } private string _DMO_Maintain_Revision_Time; public static FieldInfo dMO_Maintain_Revision_Time = new FieldInfo("cem_CostElement", "DMO_Maintain_Revision_Time");
        [Column]
        public string DMO_Check_Revision_Number { get { return _DMO_Check_Revision_Number; } set { _DMO_Check_Revision_Number = value; EntityState.FieldChange("DMO_Check_Revision_Number"); } } private string _DMO_Check_Revision_Number; public static FieldInfo dMO_Check_Revision_Number = new FieldInfo("cem_CostElement", "DMO_Check_Revision_Number");
        [Column]
        public string DMO_Check_Revision_Time { get { return _DMO_Check_Revision_Time; } set { _DMO_Check_Revision_Time = value; EntityState.FieldChange("DMO_Check_Revision_Time"); } } private string _DMO_Check_Revision_Time; public static FieldInfo dMO_Check_Revision_Time = new FieldInfo("cem_CostElement", "DMO_Check_Revision_Time");

        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("cem_CostElement", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("cem_CostElement", "Status");

    }
}
